.calendar-wra {
    width: 100%;
    min-height: 520px;
    background: #fff;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    border: 1px #eff0f1 solid;
    position: relative;
}

.calendar-event-dot {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 35px;
    height: 35px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    line-height: 35px;
    background: #6cacff;
    border-radius: 50%;
    cursor: pointer;

}

#calendar {
    width: 100%;
    height: 448px;
}

.calendar {
    position: relative;
    font-family: "Chinese Quote", "Microsoft YaHei";
    font-size: 14px;
}

.calendar *::-webkit-scrollbar {
    width: 8px;
    background-color: #fff;
}

.calendar *::-webkit-scrollbar-thumb {
    background-color: #e5e5e5;
    border-radius: 8px;
    -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, .3);
}

.calendar-header {
    padding: 0 15px 20px;
    /*padding-top: 20px;*/
    text-align: right;
    overflow: hidden;
}

.calendar-tit {
    margin-bottom: 5px;
    width: 100%;
    font-size: 16px;
    color: #717171;
    text-align: left;
    position: relative;
}

.more {
    display: inline-block;
    float: right;
}

.calendar-tit a:hover {
    color: #1677cb;
    text-decoration: underline;
}

.calendar-select {
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    position: relative;
    outline: 0;
}

.calendar-table {
    width: 100%;
    height: 100%;
}

.calendar-column-header,
.calendar-cell {
    width: 14%
}

.calendar-column-header {
    text-align: center;
    height: 40px;
    color: #333;
    line-height: 40px;
    font-size: 15px;
    background: #f4f4f4;
    font-weight: 500;
}

.calendar-table {
    table-layout: fixed;
}

.active-today {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    margin: 3px auto;
}

.calendar-tbody {
    border-top: none;
    border-left: none;
}

.calendar-cell {
    color: #333;
}

.calendar-cell.calendar-last-month-cell,
.calendar-cell.calendar-next-month-cell {
    color: #CBCBCB;
}

.calendar-date {
    border-right: none;
    border-bottom: none;
}

.calendar-cell.calendar-thisMonth .calendar-date{
    border-top-color: #1890ff;
    color: #3166B0;
    background: #F4F4F4;
    font-size: 16px;
    cursor: pointer;
}

.calendar-date:hover .active-today{
    background: #f0f0f0;
}
.calendar-cell.calendar-today .calendar-date .active-today:after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -2px;
    width: 5px;
    height: 5px;
    background: #ff9148;
    border-radius: 50%;

}

.calendar-value {
    text-align: center;
    position: relative;
}

.calendar-content {
    height: 120px;
    overflow-x: hidden;
    overflow-y: auto;
    position: static;
    width: auto;
    left: auto;
    bottom: auto;
}

.calendar-select {
    font-size: 14px;
    vertical-align: middle;
}

.btn.calendar-select-active {
    border-color: #40a9ff;
    z-index: 2;
}

.calendar-select:first-child {
    margin-right: 10px;
}

.calendar-year-select,
.goto-today,
.calendar-day-select {
    height: 37px;
    line-height: 35px;
    border-radius: 5px;
    border: 1px solid #EFEEEE;
    float: left;
    background: #fafafa;
    margin-top: 10px;
    margin-left: 29px;
}

.calendar-day-select {
    display: none;
}

.calendar-year-select:hover,
.calendar-month-select:hover {
    border-color: #40a9ff;
}

.calendar-year-text,
.calendar-month-text,
.calendar-day-text {
    margin: 0 10px;
}

.calendar-year-text,
.calendar-day-text {
    margin: 0 23px;
    line-height: 37px;
}

.arrow-group {
    width: 140px;
    height: 36px;
    float: left;
    margin-left: 29px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
    margin-top: 10px;
}

.calendar-icon {
    color: #333;
}

.arrow-left,
.arrow-right {
    float: left;
    width: 37px;
    height: 37px;
    text-align: center;
    line-height: 37px;
    background: #3166B0;
    border: 1px solid #ddd;
    margin-top: 10px;
    border-radius: 5px;
    color: #fff;
}

.arrow-left i,
.arrow-right i {
    line-height: 35px;
}

.calendar-month-select {
    height: 37px;
    line-height: 37px;
    float: left;
    background: #fafafa;
    margin-top: 10px;
    border: 1px solid #EFEEEE;
}

.arrow-right {
    float: right;
}

.goto-today {
    width: 100px;
    cursor: pointer;
    float: left;
    color: #3166B0;
    background: #fafafa;
    border: 1px solid #EFEEEE;
    border-radius: 6px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    text-align: center;
    font-size: 16px;
}

.calendar-icon * {
    color: #333;
}

.btn {
    float: left;
    padding: 5px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
}

.btn-group {
    float: left;
    display: inline;
    padding: 0 8px;
    display: none;
}

.btn-group>.btn {
    position: relative;
    float: left;
}

.btn-group>.btn:hover {
    z-index: 2;
    border-color: #40a9ff;
}

.btn-group .btn+.btn {
    margin-left: -1px;
}

.btn-group>.btn:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group>.btn:last-child:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


/*dropdown-menu*/

ul.dropdown-month,
.dropdown-month li,
ul.dropdown-year,
.dropdown-year li,
ul.dropdown-day,
.dropdown-day li {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.dropdown-month.open,
.dropdown-year.open,
.dropdown-day.open {
    display: inline-block;
    margin-top: 1px;
    width: 100%;
}

.dropdown-month,
.dropdown-year,
.dropdown-day {
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    width: 50px;
    border: 1px solid #eee;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.175);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175)
}

.dropdown-month .month-item,
.dropdown-year .year-item,
.dropdown-day .day-item {
    font-size: 12px;
    position: relative;
    display: block;
    padding: 5px 2px;
    line-height: 20px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.65);
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
}

.month-item:hover,
.year-item:hover {
    background: #e6f7ff;
}

.year-item.active {
    background-color: #fafafa;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
}

.day-item.active {
    background-color: #fafafa;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
}

.calendar-column-header2 {
    position: absolute;
    left: 0;
    z-index: -99;
}

.condate {
    display: none;
}


/* 767 */

.calendar-day-select {
    display: block;
}

ul.events li span {
    margin-left: 0px;
}

.condate {
    display: none;
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    background: #067cc4;
    border-radius: 24px;
    margin: 10px 0;
}

.calendar-content {
    width: 100%;
    height: 353px;
    position: absolute;
    left: 0;
    bottom: -350px;
    display: none !important;
}

.active-today {
    font-size: 16px;
}

.calendar-date:hover .active-today.clickday,.clickday {
    border-top-color: #f0f0f0;
    background: #f0f0f0;
}

.seletody {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding-left: 21px;
}

.seletody .seletody-today {
    margin-right: 22px;
}

.seletody .seletody-today::before,
.seletody .seletody-seledate::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ff9148;
    margin-right: 10px;
    border-radius: 50%;
}

.seletody .seletody-seledate::before {
    background: #6cacff;
}

.act {
    display: block;
}

.active-today {
    position: relative;
    cursor: pointer;
}

.calendar-year-select,
.goto-today {
    margin-top: 10px;
    margin-left: 0;
}

.goto-today .gototoday-span {
    display: block;
    width: 100%;
    height: 20px;
    line-height: 20px;
    margin-top: 7px;
    border-left: 1px solid #ddd;
    font-size: 16px;
}

.calendar-year-select,
.calendar-month-select,
.calendar-day-select {
    pointer-events: none;
}

.calendar-year-select {
    padding-left: 10px;
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-left: 8px;
}

.calendar-month-select {
    text-align: left;
    margin-top: 10px;
    margin-left: 0px;
    border-radius: 6px;
    padding-left: 1px;
    pointer-events: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.calendar-day-select {
    float: left;
    text-align: left;
    margin-top: 10px;
    margin-left: 0px;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding-right: 73px;
}

.calendar-year-text {
    margin: 0;
}

.calendar-month-text {
    margin: 0;
}

.calendar-day-text {
    margin: 0;
}

.calendarlist-wra {
    margin-top: 27px;
    min-height: auto;
}

.calendarlist-con {
    padding: 0px 12px 70px;
}

.calendarlist-con li {
    border-bottom: 1px solid #eee;
    padding: 2px 0px;
    font-size: 14px;
    line-height: 24px;
}

.conmonth {
    display: none;
}

.conyear {
    display: none;
}

.calenar-share {
    display: inline-block;
    width: 13px;
    height: 12px;
    background: url(../images/calenar-share-bg.png)no-repeat;
    cursor: pointer;
    margin-left: 8px;
}

@media only screen and (max-width: 320px) {
    .calendar-year-select,
    .calendar-month-select,
    .calendar-day-select {
        width: 17%;
        text-align: center;
    }
    .calendar-year-text {
        margin: 0 5px 0 5px;
    }
    .calendar-month-text {
        margin: 0 5px 0 5px;
    }
    .calendar-day-text {
        margin: 0 5px 0 5px;
    }
}


/* 弹出层样式 */

.calendar-wra-index {
    position: relative;
}

.calendar-wra-index .down {
    position: absolute;
    top: 152px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, .9);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -ms-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -o-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    padding: 20px 0;
    height: 255px;
    overflow-y: auto;
    display: none;
}

.calendar-wra-index .down .close {
    float: none;
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    color: #006699;
    font-weight: normal;
    opacity: 1;
    position: absolute;
    top: -4px;
    right: 5px;
}

.calendar-wra-index dl {
    overflow: hidden;
}

.calendar-wra-index dd a {
    display: block;
    font-size: 16px;
    color: #000;
    line-height: 30px;
    padding: 0 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.calendar-wra-index dd a:hover {
    color: #1677cb;
}
